export default {
	name: 'config-manage',
	path: '/config-manage',
	component: () => import('@/static-page/keep-alive.vue'),
	// redirect: GetRedirect,
	meta: {
		showSiderMenu: true // layout布局是否显示左侧菜单
	},

	children: [
		/* -------------------- 盒子管理 -------------------- */
		{
			name: 'config-manage-boxes',
			path: '/config-manage/boxes/table',
			component: () => import('./pages/boxes/boxes.vue'),
			meta: { menuKey: '/config-manage/boxes/table' }
		},
		{
			// 盒子详情
			name: 'config-manage-boxes-detail',
			path: '/config-manage/boxes/boxe-detail',
			component: () => import('./pages/boxes/boxes-detail.vue'),
			meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/boxes/table' }
		},

		{
			// 新增盒子
			name: 'config-manage-boxes-form-add',
			path: '/config-manage/boxes/add',
			component: () => import('./pages/boxes/old-box-add.vue'),
			meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/boxes/table' }
		},
		{
			// 新增盒子
			name: 'config-manage-boxes-form-new-add',
			path: '/config-manage/boxes/new-add',
			component: () => import('./pages/boxes/new-box-add.vue'),
			meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/boxes/table' }
		},

		// {
		// 	// 配置管理-盒子-报警配置 >>> 暂未开发
		// 	name: 'config-manage-boxes-alarm-conf',
		// 	path: '/config-manage/boxes/alarm-conf',
		// 	component: () => import('./pages/boxes/boxes-alarm-conf.vue')
		// },

		/* -------------------- 盒子版本 -------------------- */
		{
			name: 'config-manage-box-versions-table',
			path: '/config-manage/box-versions/table',
			component: () => import('./pages/box-versions/box-versions-table.vue'),
			meta: { menuKey: '/config-manage/box-versions/table' }
		},
		{
			name: 'config-manage-box-versions-form',
			path: '/config-manage/box-versions/add',
			component: () => import('./pages/box-versions/box-versions-form.vue'),
			meta: {
				LayoutNoSideMenu: true,
				menuKey: '/config-manage/box-versions/table'
			}
		},
		{
			name: 'config-manage-box-versions-detail',
			path: '/config-manage/box-versions/detail',
			component: () => import('./pages/box-versions/box-versions-detail.vue'),
			meta: { menuKey: '/config-manage/box-versions/table' }
		},

		// {
		// 	name: 'config-manage-algo-auth',
		// 	path: '/config-manage/algo-auth',
		// 	component: () => import('./pages/algo-auth/index.vue'),
		// 	meta: { menuKey: '/config-manage/algo-auth' }
		// },

		/* -------------------- 摄像头管理 -------------------- */
		{
			name: 'config-manage-cameras-table',
			path: '/config-manage/cameras/table',
			component: () => import('./pages/cameras/cameras-table.vue'),
			meta: { menuKey: '/config-manage/cameras/table', keepAlive: true }
		},
		{
			name: 'config-manage-cameras-form-add',
			path: '/config-manage/cameras/add',
			component: () => import('./pages/cameras/cameras-form.vue'),
			meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/cameras/table' }
		},
		{
			name: 'config-manage-cameras-form-update',
			path: '/config-manage/cameras/update',
			component: () => import('./pages/cameras/cameras-form.vue'),
			meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/cameras/table' }
		},
		{
			name: 'config-manage-cameras-algorithm',
			path: '/config-manage/cameras/algorithm',
			component: () => import('./pages/cameras/cameras-algorithm.vue'),
			meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/cameras/table' }
		},

		/* -------------------- 数据回流 -------------------- */
		// {
		// 	name: 'config-manage-data-reflux',
		// 	path: '/config-manage/data-reflux',
		// 	component: () => import('./pages/data-reflux/index.vue'),
		// 	children: [
		// 		{
		// 			name: 'config-manage-data-reflux-list',
		// 			path: '/config-manage/data-reflux-list',
		// 			component: () => import('./components/data-reflux/DataReflux.vue'),
		// 			meta: { menuKey: '/config-manage/data-reflux' }
		// 		},
		// 		{
		// 			name: 'config-manage-data-reflux-config',
		// 			path: '/config-manage/reflux-config',
		// 			component: () => import('./components/data-reflux/RefluxConfig.vue'),
		// 			meta: { menuKey: '/config-manage/data-reflux' }
		// 		}
		// 	]
		// },
		// {
		// 	name: 'config-manage-reflux-config-add',
		// 	path: '/config-manage/reflux-config/add',
		// 	component: () => import('./pages/data-reflux/reflux-config-form.vue'),
		// 	meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/data-reflux' }
		// },
		// {
		// 	name: 'config-manage-reflux-config-update',
		// 	path: '/config-manage/reflux-config/update',
		// 	component: () => import('./pages/data-reflux/reflux-config-form.vue'),
		// 	meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/data-reflux' }
		// },
		/* -------------------- 报警通知 -------------------- */
		{
			name: 'config-manage-alarm-notices-table',
			path: '/config-manage/alarm-notices/table',
			component: () => import('./pages/alarm-notices/alarm-notices-table.vue'),
			meta: { menuKey: '/config-manage/alarm-notices/table' }
		},
		{
			name: 'config-manage-alarm-notices-form-add',
			path: '/config-manage/alarm-notices/add',
			component: () => import('./pages/alarm-notices/alarm-notices-form.vue'),
			meta: {
				LayoutNoSideMenu: true,
				menuKey: '/config-manage/alarm-notices/table'
			}
		},
		{
			name: 'config-manage-alarm-notices-form-update',
			path: '/config-manage/alarm-notices/update',
			component: () => import('./pages/alarm-notices/alarm-notices-form.vue'),
			meta: {
				LayoutNoSideMenu: true,
				menuKey: '/config-manage/alarm-notices/table'
			}
		},

		/* -------------------- 报警器管理 -------------------- */
		{
			name: 'alarm-equipment-manage',
			path: '/config-manage/alarm-equipment-manage/table',
			component: () => import('./pages/alarm-equipment-manage/alarm-equipment-table.vue'),
			meta: { menuKey: '/config-manage/alarm-equipment-manage/table' }
		},

		/* -------------------- 处罚管理 -------------------- */
		{
			name: 'punish-manage',
			path: '/config-manage/punish-manage/table',
			component: () => import('./pages/punish-manage/punish-table.vue'),
			meta: { menuKey: '/config-manage/punish-manage/table' }
		},
		/* -------------------- 处罚设置 -------------------- */
		{
			name: 'punish-setting',
			path: '/config-manage/punish-manage/punish-setting',
			component: () => import('./pages/punish-manage/punish-setting.vue'),
			meta: { menuKey: '/config-manage/punish-manage/table' }
		},

		/* -------------------- 数据统计 -------------------- */
		{
			name: 'config-manage-data-statistics',
			path: '/config-manage/data-statistics',
			component: () => import('./pages/data-statistics/data-statistics.vue'),
			meta: { menuKey: '/config-manage/data-statistics' }
		},

		/* -------------------- 系统管理 -------------------- */
		{
			name: 'config-manage-system-manage',
			path: '/config-manage/system-manage',
			component: () => import('./pages/system-manage/index.vue'),
			meta: {
				LayoutNoSideMenu: false,
				menuKey: '/config-manage/system-manage'
			},
			children: [
				/* -------------------- 账号管理 -------------------- */
				{
					name: 'system-accounts-table',
					path: '/config-manage/system/accounts/table',
					component: () => import('./pages/system-manage/accounts/accounts-table.vue'),
					meta: { menuKey: '/config-manage/system-manage' }
				},
				/* -------------------- 角色管理 -------------------- */
				{
					name: 'system-roles-table',
					path: '/config-manage/system/roles/table',
					component: () => import('./pages/system-manage/roles/roles-table.vue'),
					meta: { menuKey: '/config-manage/system-manage' }
				},
				{
					name: 'system-roles-form-add',
					path: '/config-manage/system/roles/add',
					component: () => import('./pages/system-manage/roles/roles-form.vue'),
					meta: {
						LayoutNoSideMenu: true,
						menuKey: '/config-manage/system-manage'
					}
				},
				{
					name: 'system-roles-form-update',
					path: '/config-manage/system/roles/update',
					component: () => import('./pages/system-manage/roles/roles-form.vue'),
					meta: {
						LayoutNoSideMenu: true,
						menuKey: '/config-manage/system-manage'
					}
				},
				{
					name: 'system-role-members-table',
					path: '/config-manage/system/roles/members-table',
					component: () => import('./pages/system-manage/roles/role-members-table.vue'),
					meta: {
						LayoutNoSideMenu: true,
						menuKey: '/config-manage/system-manage'
					}
				},
				/* -------------------- 操作日志 -------------------- */
				{
					name: 'system-logs-table',
					path: '/config-manage/system/system-logs/table',
					component: () => import('./pages/system-manage/system-logs/system-logs-table.vue'),
					meta: { menuKey: '/config-manage/system-manage' }
				},
				/* -------------------- MQTT配置 -------------------- */
				{
					name: 'system-MOTT-form',
					path: '/config-manage/system/MOTT/form',
					component: () => import('./pages/system-manage/MQTT/MQTT-form.vue'),
					meta: { menuKey: '/config-manage/system-manage' }
				},
				/* -------------------- 回流配置 -------------------- */
				{
					name: 'system-reflux-config',
					path: '/config-manage/system/reflux-config',
					component: () => import('./pages/system-manage/reflux-config/reflux-config.vue'),
					meta: { menuKey: '/config-manage/system-manage' }
				},
				{
					name: 'system-reflux-config-add',
					path: '/config-manage/system/reflux-config/add',
					component: () => import('./pages/system-manage/reflux-config/reflux-config-form.vue'),
					meta: {
						LayoutNoSideMenu: true,
						menuKey: '/config-manage/system-manage'
					}
				},
				{
					name: 'system-reflux-config-update',
					path: '/config-manage/system/reflux-config/update',
					component: () => import('./pages/system-manage/reflux-config/reflux-config-form.vue'),
					meta: {
						LayoutNoSideMenu: true,
						menuKey: '/config-manage/system-manage'
					}
				},
				/* -------------------- 数据回流 -------------------- */
				{
					name: 'system-data-reflux',
					path: '/config-manage/system/data-reflux',
					component: () => import('./pages/system-manage/data-reflux/data-reflux.vue'),
					meta: { menuKey: '/config-manage/system-manage' }
				}
			]
		}

		/* -------------------- 系统账号 -------------------- */
		// {
		// 	name: 'config-manage-accounts-table',
		// 	path: '/config-manage/accounts/table',
		// 	component: () => import('./pages/accounts/accounts-table.vue'),
		// 	meta: { menuKey: '/config-manage/accounts/table' }
		// },

		/* -------------------- 系统角色 -------------------- */
		// {
		// 	name: 'config-manage-roles-table',
		// 	path: '/config-manage/roles/table',
		// 	component: () => import('./pages/roles/roles-table.vue'),
		// 	meta: { menuKey: '/config-manage/roles/table' }
		// },
		// {
		// 	name: 'config-manage-roles-form-add',
		// 	path: '/config-manage/roles/add',
		// 	component: () => import('./pages/roles/roles-form.vue'),
		// 	meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/roles/table' }
		// },
		// {
		// 	name: 'config-manage-roles-form-update',
		// 	path: '/config-manage/roles/update',
		// 	component: () => import('./pages/roles/roles-form.vue'),
		// 	meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/roles/table' }
		// },
		// {
		// 	name: 'config-manage-role-members-table',
		// 	path: '/config-manage/roles/members-table',
		// 	component: () => import('./pages/roles/role-members-table.vue'),
		// 	meta: { LayoutNoSideMenu: true, menuKey: '/config-manage/roles/table' }
		// },

		/* -------------------- 系统日志 -------------------- */
		// {
		// 	name: 'config-manage-system-logs-table',
		// 	path: '/config-manage/system-logs/table',
		// 	component: () => import('./pages/system-logs/system-logs-table.vue'),
		// 	meta: { menuKey: '/config-manage/system-logs/table' }
		// },

		/* -------------------- MQTT配置 -------------------- */
		// {
		// 	name: 'config-manage-MOTT-form',
		// 	path: '/config-manage/MOTT/form',
		// 	component: () => import('./pages/MQTT/MQTT-form.vue'),
		// 	meta: { menuKey: '/config-manage/MOTT/form' }
		// }
	]
};
